package com.acg.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 购物车表(Cart)实体类
 *
 * @author makejava
 * @since 2025-07-01 16:34:31
 */
public class Cart implements Serializable {
    private static final long serialVersionUID = 209229967341529974L;
/**
     * 购物车项唯一标识
     */
    private Integer cartId;
/**
     * 用户标识
     */
    private Integer userId;
/**
     * 商品标识
     */
    private Integer productId;
/**
     * 商品数量
     */
    private Integer quantity;
/**
     * 添加到购物车时间
     */
    private Date createTime;


    public Integer getCartId() {
        return cartId;
    }

    public void setCartId(Integer cartId) {
        this.cartId = cartId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}

